#ifndef WORLD_H
#define WORLD_H

#include "src/utils/net_client.h"
// #include "src/utils/net_server.h"
#include "sc_server.h"
#include "sc_client.h"

class World
{
	public:
		World();
		virtual ~World();

		void		process( float timeDelta );
		void		draw();

		boost::scoped_ptr<ScServer>	m_sc_server;
		boost::scoped_ptr<ScClient>	m_sc_client;
		
	private:

		BeGraphicsSystem		m_graphicsSystem;
		boost::scoped_ptr<ScGraphics> 	m_graphics;

		boost::scoped_ptr<Netclient>	m_netClient;
		boost::scoped_ptr<Netserver>	m_netServer;

		Settings*			settings;
		const unsigned int*		server;
		const unsigned int*		client;
		const unsigned int*		headless;

// 		std::vector<boost::shared_ptr<nClient> >	m_clientsAwaitingApproval;
};

#endif
